-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-39330: [Java][CI] Fix or suppress spurious errorprone warnings #39529
Conversation
@github-actions crossbow submit java |
Revision: 4d87301 Submitted crossbow builds: ursacomputing/crossbow @ actions-4547e26b60 |
@github-actions crossbow submit java |
Revision: 85c5f9f Submitted crossbow builds: ursacomputing/crossbow @ actions-f76ced9dc5 |
@github-actions crossbow submit java |
Revision: 5226173 Submitted crossbow builds: ursacomputing/crossbow @ actions-04546ec6e4 |
@github-actions crossbow submit java |
Revision: c09a3d8 Submitted crossbow builds: ursacomputing/crossbow @ actions-053fa63473 |
@github-actions crossbow submit java |
Revision: 8499caf Submitted crossbow builds: ursacomputing/crossbow @ actions-7a3a344533 |
@github-actions crossbow submit java |
Revision: 57445c6 Submitted crossbow builds: ursacomputing/crossbow @ actions-bde21cc636 |
@github-actions crossbow submit java |
Revision: 70e9efa Submitted crossbow builds: ursacomputing/crossbow @ actions-076ac97685 |
@github-actions crossbow submit java |
|
Since this PR is already too long, I will be creating a follow up PR to fix the warnings in the following modules
Will be addressed here: #39649 |
At the end of this we should also be making warnings into errors so that these don't come back up. |
Agreed @lidavidm. Probably need to complete the follow up PR to do that. Also what would be the best way to fail builds with warnings? |
@github-actions crossbow submit java |
Revision: 56a95fd Submitted crossbow builds: ursacomputing/crossbow @ actions-e636476297 |
Pass |
...ithm/src/test/java/org/apache/arrow/algorithm/dictionary/TestHashTableDictionaryEncoder.java
Outdated
Show resolved
Hide resolved
...gorithm/src/test/java/org/apache/arrow/algorithm/dictionary/TestLinearDictionaryEncoder.java
Outdated
Show resolved
Hide resolved
java/flight/flight-core/src/main/java/org/apache/arrow/flight/grpc/AddWritableBuffer.java
Outdated
Show resolved
Hide resolved
java/flight/flight-core/src/main/java/org/apache/arrow/flight/grpc/GetReadableBuffer.java
Outdated
Show resolved
Hide resolved
java/algorithm/src/test/java/org/apache/arrow/algorithm/sort/TestCompositeVectorComparator.java
Outdated
Show resolved
Hide resolved
java/vector/src/main/java/org/apache/arrow/vector/complex/impl/PromotableWriter.java
Outdated
Show resolved
Hide resolved
java/vector/src/test/java/org/apache/arrow/vector/TestLargeListVector.java
Show resolved
Hide resolved
@lidavidm addressed the reviews, but there are some open questions. Appreciate your feedback. |
@github-actions crossbow submit java |
Revision: 190e6df Submitted crossbow builds: ursacomputing/crossbow @ actions-142142f8e6 |
The only thing I have is to fix the exception message |
@github-actions crossbow submit java |
Revision: c1cb671 Submitted crossbow builds: ursacomputing/crossbow @ actions-a48ea38acd |
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit ae9c0a9. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
…gs (apache#39529) ### Rationale for this change This PR fixes the warnings generated by the errorprone library. ### What changes are included in this PR? Updating the code to remove warnings. Covered modules - [x] algorithm - [x] compression - [x] flight - [x] tools - [x] vector ### Are these changes tested? Tested by existing test cases. ### Are there any user-facing changes? No * Closes: apache#39330 Lead-authored-by: Vibhatha Lakmal Abeykoon <vibhatha@gmail.com> Co-authored-by: vibhatha <vibhatha@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>
…gs (apache#39529) ### Rationale for this change This PR fixes the warnings generated by the errorprone library. ### What changes are included in this PR? Updating the code to remove warnings. Covered modules - [x] algorithm - [x] compression - [x] flight - [x] tools - [x] vector ### Are these changes tested? Tested by existing test cases. ### Are there any user-facing changes? No * Closes: apache#39330 Lead-authored-by: Vibhatha Lakmal Abeykoon <vibhatha@gmail.com> Co-authored-by: vibhatha <vibhatha@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>
…gs (apache#39529) ### Rationale for this change This PR fixes the warnings generated by the errorprone library. ### What changes are included in this PR? Updating the code to remove warnings. Covered modules - [x] algorithm - [x] compression - [x] flight - [x] tools - [x] vector ### Are these changes tested? Tested by existing test cases. ### Are there any user-facing changes? No * Closes: apache#39330 Lead-authored-by: Vibhatha Lakmal Abeykoon <vibhatha@gmail.com> Co-authored-by: vibhatha <vibhatha@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>
### What changes are included in this PR? Removing static imports of UTF_8. This has been identified as a minor enhancement as documented here: #39752 and discussed in a review [here](#39529 (comment)). ### Are these changes tested? Tested by existing test cases. ### Are there any user-facing changes? No * GitHub Issue: #39752 Authored-by: Vibhatha Abeykoon <vibhatha@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>
Rationale for this change
This PR fixes the warnings generated by the errorprone library.
What changes are included in this PR?
Updating the code to remove warnings.
Covered modules
Are these changes tested?
Tested by existing test cases.
Are there any user-facing changes?
No